package com.jwds.digital.bios.business.core.infrastructure.mapper.belt;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwds.digital.bios.business.core.infrastructure.dto.belt.BeltRouteHistoryDayDTO;
import com.jwds.digital.bios.business.core.infrastructure.entity.belt.BeltRouteHistoryDay;
import com.jwds.digital.bios.business.core.infrastructure.vo.belt.BeltRouteHistoryDayVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 线路历史数据表 Mapper 接口
 *
 * @author 林柏云
 * @date 2024-11-14
 */
@Mapper
public interface BeltRouteHistoryDayMapper extends BaseMapper<BeltRouteHistoryDay> {

    /**
     * 分页查询
     * @param page 分页参数
     * @param condition 查询条件
     * @return respVOList 查询结果
     */
    IPage<BeltRouteHistoryDayVO> pageQuery(@Param("page") Page<?> page, @Param("condition") BeltRouteHistoryDayDTO condition);

    /**
     * 列表查询
     * @param condition 查询条件
     * @return respVOList 查询结果
     */
    List<BeltRouteHistoryDayVO> queryList(@Param("condition") BeltRouteHistoryDayDTO condition);

    /**
     * 根据ID查询
     * @param id 查询条件
     * @return respVO 查询结果
     */
    BeltRouteHistoryDay queryById(@Param("id") Long id);

    /*******************扩展查询*******************/

}
